package main;


public class ResStationEntry extends Main{

	Instruction inst;
	boolean r1;
	boolean r2;
	Integer v1;
	Integer v2;
	boolean InExecution;
	boolean ready;
	
	public ResStationEntry(Instruction inst, boolean r1, boolean r2, Integer v1,
			Integer v2) {
		
		this.inst = inst;
		this.r1 = r1;
		this.r2 = r2;
		this.v1 = v1;
		this.v2 = v2;
		InExecution = false;
		ready = false;
		
	}
	
	public String text() {
		
		return "Flag1 = "+r1+" ; Flag2 = "
				+r2+" ; value1 = "+v1+" ; value2 = "+v2+" ; execute = "+InExecution;
	
	}
	
	public static void print() {
		
		for(int i=0; i< ReservationSation.size(); i++) {
			
			System.out.println(ReservationSation.get(i).text());
			
		}
		
	}
	
	
	
	
	
}
